-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PMM-13534: Use platform address for version service #3306
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## v3 #3306 +/- ##
==========================================
- Coverage 43.54% 43.53% -0.01%
==========================================
Files 366 366
Lines 44162 44169 +7
==========================================
- Hits 19232 19231 -1
- Misses 23249 23252 +3
- Partials 1681 1686 +5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
managed/services/server/updater.go
Outdated
updateCheckResultFresh = updateCheckInterval + 10*time.Minute | ||
updateDefaultTimeout = 30 * time.Second | ||
envfilePath = "/home/pmm/update/pmm-server.env" | ||
defaultLatestPMMImage = "perconalab/pmm-server:3-dev-latest" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if we should update this now to a stable version or wait till GA is released.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it still used somewhere in code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No even, dropped it now.
managed/services/server/updater.go
Outdated
updateCheckResultFresh = updateCheckInterval + 10*time.Minute | ||
updateDefaultTimeout = 30 * time.Second | ||
envfilePath = "/home/pmm/update/pmm-server.env" | ||
defaultLatestPMMImage = "perconalab/pmm-server:3-dev-latest" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it still used somewhere in code?
There is a possibility of nil (when we don't have any tag available). This updates the test to allow such cases and only check if latest is not nil
PMM-13534
Link to the Feature Build: SUBMODULES-3767
If this PR adds or removes or alters one or more API endpoints, please review and add or update the relevant API documents as well:
If this PR is related to some other PRs in this or other repositories, please provide links to those PRs: